package com.agentlab.imitation.common;


/**
/**
 * 功能:通用的静态工具函数
 * <p>Title: 并购网平台</p>
 * <p>Description: 通用工具类</p>
 * <p>Copyright: 安喆信,action (c) 2010</p>
 * @author 唐良飞
 * @version 1.0
 */

public  class CommonConstant {
	 public static final int TYPE_CONVERTER_CONTEXT_KEY = 10;
	 public static final String GOING_TO_URL_KEY = "goingToURL";
	 //首面登录框标志
	 public static final String LOGIN_BZ = "99";
	 //每页显示多少条
	 public static final int MAX_RESULT_PAGE = 10;
	 //--------代码表类型 ------------
	 //国家
	 public static final String CODE_TYPE_COUNTRY = "country";
	 //行业
	 public static final String CODE_TYPE_INDUSTRY = "industry";

	 public static final String COMPANY_FILE_COMPANYIMG = "companyimg";
	 //没有上传图片时，显示默认图片
	 public static final String COMPANY_IMG_DEFAULTPATH = "../images/default/lube.jpg";
	 //超级管理员ID
	 public static final String ADMIN_USERCODE = "12,13";
	 //超级管理员
	 public static final String USER_ROLE_ADMIN= "admin";
	 public static final String USER_ROLE_AGENT= "agent";
	 //培训类型
	 public static final String PEIXUN_TYPE_PPT= "ppt";
	 public static final String PEIXUN_TYPE_DETAILED= "detailed";
	 public static final String PEIXUN_TYPE_OVERVIEW= "overview";
	 //订阅用户类型(add by hexm on 2011-4-14)
	 public static final String SUBSCRIPTION_TYPE_AUTO = "a";
	 public static final String SUBSCRIPTION_TYPE_MANUAL = "m";
	 //订阅电子书类型选择
	
	 //资料上传路径
	 public static final String DOCUMENT_UPLOAD_PATH = "/files/documents/";
	 
	 //------------------后台管理相关常量-----------------------------------------
	 public static final String ADMIN_SESSION = "adminuser";
	 public static final String ADMIN_NO_PERMISSION = "adminnopermission";
	 
	 //---------------------前台相关常量-----------------------------------
	 public static final String USER_SESSION = "frontuser";
	 public static final String USER_WISH_SESSION = "userwish";
	 public static final String RANDOM_SESSION = "random";
	 public static final String USER_NO_PERMISSION = "usernopermission";
	 public static final String SYSTEM_URL = "http://172.18.16.171:8080/imitation";
	 public static final String YEARS = "('2009','2008','2007')"; //参与决策的年份
	 public static final int MODE_BZF = 2; //标准分模式
	 public static final int MODE_YSF = 1;  //原始分模式
	 public static final String SORT_UP = "up"; 
	 public static final String SORT_DOWN = "down";
	 public static final int NUM_YX = 6;//志愿院校数量
	 public static final int NUM_ZY = 6;//志愿专业数量
	 public static final String ADV_SESSION = "advsession";//志愿专业数量
	 public static final String FROM_ADV = "adv";//志愿专业数量
	 public static final String KLDM_WEN = "1";//文科代码 
	 public static final String KLDM_LI = "5";//理科代码
	 
	 
}
